package com.wzdigit.wms.basic.domain.order;

import com.baomidou.mybatisplus.annotation.*;
import com.wzdigit.framework.orm.model.BasicDomain;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * WMS_PUTAWAY_TASK_DTL
 * </p>
 *
 * @author 
 * @since 2021-01-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("WMS_PUTAWAY_TASK_DTL")
@KeySequence(value = "WMS_PUTAWAY_TASK_DTL_SEQ", clazz = Integer.class)
public class PutawayTaskDtl extends BasicDomain {

    private static final long serialVersionUID = 1L;

    /**
     * 上架任务明细ID
     */
    @TableId(value = "PUTAWAY_TASK_DTL_ID",type = IdType.INPUT)
    private Integer putawayTaskDtlId;

    /**
     * 上架任务ID
     */
    @TableField("PUTAWAY_TASK_ID")
    private Integer putawayTaskId;

    /**
     * 货品SN
     */
    @TableField("GOODS_SN")
    private String goodsSn;

    /**
     * 货品SNID
     */
    @TableField("GOODS_ID")
    private Integer goodsId;

    /**
     * 任务执行人
     */
    @TableField("OPERATOR")
    private String operator;

    /**
     * 上架库位
     */
    @TableField("LOC_ID")
    private Integer locId;

    /**
     * 上架后根据SN当前数量填充
     */
    @TableField("QTY")
    private BigDecimal qty;

    /**
     * 上架后根据SN当前毛重填充
     */
    @TableField("WEIGHT")
    private BigDecimal weight;

    /**
     * 上架后根据SN当前体检填充
     */
    @TableField("CUBE")
    private BigDecimal cube;

    /**
     * 单位
     */
    @TableField("UNIT")
    private String unit;

    /**
     * 状态
     */
    @TableField("STATUS")
    private BigDecimal status;

    /**
     * 备注
     */
    @TableField("COMMENTS")
    private String comments;

}
